Page({
  data: {
    dish: {}
  },
  onLoad(options) {
    const dish = JSON.parse(decodeURIComponent(options.dish))
    this.setData({ dish })
  },
  goBack() {
    console.log('点击返回');
    wx.navigateBack();
  }
})
